/*
 * message_service.h
 *
 *  Created on: 2008-12-2
 *      Author: fanliangliang
 */

#ifndef MESSAGE_SERVICE_H_
#define MESSAGE_SERVICE_H_

#include "toxic.h"
#include <string>

using std::string;

class ShortMessage;

class MessageService {
public:
	MessageService();
	~MessageService();

	bool send(const ShortMessage& message);

	void setSmsInterface(const string& smsInterface);
	void setServer(const string& server);
	void setPort(uint16_t port);

	const string& smsInterface() const;
	const string& server() const;
	uint16_t port() const;

private:
	string _smsInterface;
	string _server;
	uint16_t _port;
};

#endif /* MESSAGE_SERVICE_H_ */
